@import './modules/reset.scss';
@import 'modules/header.scss';
@import 'modules/footer.scss';

.g-bd {
    background-color: #f8f6f5;
    z-index: 1;
    position: relative;
    .g-row {
        width: 1090px;
        margin-right: auto;
        margin-left: auto;
        position: relative;
        &::before{
            content: " ";
            display: table;
        }
    .my-cart {
        padding-bottom: 40px;
        margin-top: 20px;
        .w3 {
            width: 122px;
        }
        .w4 {
            width: 220px;
        }
        .w5 {
            width: 133px;
        }
        .w6 {
            width: 200px;
        }
        .my-cartBody {
            //空购物车
            .cart-empty {
                padding: 165px 0 185px;
                border: 1px solid #ddd;
                .wrap {
                    width: 140px;
                    margin: 0 auto;
                    text-align: center;
                    .icon-cart-empty {
                        display: inline-block;
                        overflow: hidden;
                        vertical-align: top;
                        font-size: 12px;
                        word-spacing: normal;
                        letter-spacing: normal;
                        height: 50px;
                        width: 50px;
                        background: url(/images/kefu2.png) center no-repeat;
                        background-position: 0 -605px;
                    }
                    .text {
                        font-size: 18px;
                        color: #333;
                        margin-top: 15px;
                    }
                    a {
                        font-size: 14px;
                        color: #69c;
                    }
                }
            }
            // 购物车有商品
            .tt {
                margin-bottom: 20px;
                height: 45px;
                padding: 12px 0;
                border: 1px solid #ddd;
                background-color: #f5f5f5;
                font-size: 12px;
                .w {
                    float: left;
                    text-align: center;
                    .w-checkbox {
                        margin-left: 20px;
                        input {
                            width: 18px;
                            height: 18px;
                            border-radius: 0;
                            position: relative;
                            display: inline-block;
                            vertical-align: middle;
                            border: 0;
                            margin: 0;
                        }
                        span {
                            margin-left: 14px;
                        }
                    }
                }
                .w1 {
                    width: 183px;
                }
                .w2 {
                    width: 200px;
                }
                .left {
                    text-align: left;
                }
            }
            .cart-group {
                // height: 100px;
                
                background-color: #fffbf0;
                border: 1px solid #ddd;
                margin-bottom: 10px;
                display: flex;
                align-items: center;
                .cart-item {
                    padding: 20px 0;
                    position: relative;
                    // display: flex;
                    // align-items: center;
                    // .item-1 {
                    //     padding-top: 12px;
                    // }
                    .item-2 {
                        padding-top: 28px;
                        .u-selnum {
                            border: 1px solid #ddd;
                            overflow: hidden;
                            display: inline-block;
                            .less {
                                width: 24px;
                                height: 24px;
                                line-height: 22px;
                                border-right: 1px solid #ddd;
                                position: relative;
                                float: left;
                                background: #fff;
                                .hx {
                                    position: absolute;
                                    overflow: hidden;
                                    background: #999;                               
                                    top: 11px;
                                    left: 7px;
                                    width: 10px;
                                    height: 2px;

                                }

                            }
                            input {
                                width: 58px;
                                height: 24px;
                                line-height: 22px;  
                                text-align: center;
                            }
                            .more {
                                width: 24px;
                                height: 24px;
                                line-height: 22px;
                                border-left: 1px solid #ddd;
                                cursor: pointer;
                                position: relative;
                                float: right;
                                background: #fff;
                                .hx {
                                    position: absolute;
                                    overflow: hidden;
                                    background: #999;                               
                                    top: 11px;
                                    left: 7px;
                                    width: 10px;
                                    height: 2px;

                                }
                                .sx {
                                    top: 7px;
                                    left: 11px;
                                    width: 2px;
                                    height: 10px;
                                    position: absolute;
                                    overflow: hidden;
                                    background: #999;    
                                }
                            }
                        }
                        
                    }
                    .item-3 {
                        padding-top: 35px;
                    }

                    .item {
                        float: left;
                        text-align: center;
                        position: relative;
                        color: #999;
                        .price {
                            text-align: center;
                            line-height: 1;
                            font-size: 14px;
                            span {
                                font-size: 14px;
                            }
                        }
                        .pastprice {
                            padding-bottom: 9px;
                            text-decoration: line-through;
                            height: 23px;
                        }
                        .nowprice {
                            padding-bottom: 6px;
                            color: #333;
                        }
                        .sprice {
                            color: #118700;
                        }
                        .tag {
                            padding: 0 10px;
                            line-height: 22px;
                            height: 22px;
                            color: #fff;
                            display: inline-block;
                            span {
                                background-color: red;
                                padding: 4px;
                            }
                        }
                        
                        .del {
                            position: absolute;
                            top: 30px;
                            right: 5px;
                            i {
                                display: inline-block;
                                overflow: hidden;
                                vertical-align: top;
                                font-size: 12px;
                                word-spacing: normal;
                                letter-spacing: normal;
                                height: 22px;
                                width: 22px;
                                background: url(/images/kefu2.png) center no-repeat;
                                background-position: 0 -559px;
                            }
                        }
                        .pic {
                            position: relative;
                            float: left;
                            height: 80px;
                            width: 80px;
                            border: 1px solid #eaeaea;
                            img {
                                width: 78px;
                                height: 78px;
                                background-color: #f4f4f4;
                            }
                        }
                        .desc {
                            padding-top: 20px;
                            text-align: left;
                            width: 242px;
                            padding-left: 42px;
                            float: left;
                            overflow: hidden;
                            line-height: 1;
                            text-overflow: ellipsis;
                            a {
                                font-size: 14px;
                                display: block;
                            }
                        }
                    }
                    .w7 {
                        width: 60px;
                        .w-checkbox {
                            margin-top: 30px;
                            input {
                                width: 18px;
                                height: 18px;
                                border-radius: 0;
                                position: relative;
                                display: inline-block;
                                vertical-align: middle;
                                border: 0;
                                margin: 0;
                            }
                        }
                    }
                    .w8 {
                        width: 323px;
                    }
                }
            }
        }
        .cart-total {
            position: relative;
            background-color: #f5f5f5;
            border: 1px solid #ddd;
            height: 66px;
            .checkbox {
                position: absolute;
                top: 24px;
                left: 22px;
                font-size: 12px;
                color: #333;
                

                input {
                    width: 18px;
                    height: 18px;
                    margin: 0;
                    border-radius: 0;
                    position: relative;
                    display: inline-block;
                    vertical-align: middle;
                    border: 0;
                }
                .chose {
                    margin-left: 14px;

                }
                .mgl30 {
                    margin-left: 30px;
                    color: #333;
                    cursor: pointer;

                }
            }
            .f-fr{
                float: right;
             
                .w-button-primary {
                    background-color: #31ae1f;
                    color: #fff;
                    border-top: 4px solid #8dfd5c;
                    border-right: 4px solid #47d009;
                    border-bottom: 4px solid #1e8c03;
                    border-left: 4px solid #156c00;
                }
                .w-button {
                    border-radius: 0;
                    width: 140px;
                    height: 66px;
                    margin-top: -1px;
                    margin-right: -1px;
                    line-height: 41px;
                    font-size: 18px;
                    cursor: pointer;
                }
            }
        
            .mgr25 {
                margin-right: 25px;
                .line {
                    padding-top: 8px;
                    text-align: right;
                    overflow: hidden;
                    height: 38px;
                }
                .line-1 {
                    height: auto;
                    padding-top: 0;
                    padding-bottom: 0;
                    font-size: 14px;
                    color: #999;
                }
                .mgr {
                    font-size: 14px;
                    height: 33px;
                    line-height: 30px;
                }
                .price {
                    font-size: 22px;
                    color: #d4282d;
                    font-weight: 700;
                    padding-left: 10px;
                }
            }
        }
    }
}
}
   